Enable Bluetooth AAC codec

last modified

2025–8–25

Debian does not support the Bluetooth AAC codec. The codec itself is available in non-free, but the package libspa-0.2-bluetooth from free is compiled without AAC support.

There is a replacement package with AAC support, libspa-0.2-bluetooth_1.2.7-1ubuntu6~glasgall2_amd64.deb which however is not installable in Debian. Instead, the package contents have to be extracted and put into /usr/lib/x86_64-linux-gnu/spa-0.2/bluez5:

libspa-codec-bluez5-g722.so
libspa-codec-bluez5-sbc.so
libspa-codec-bluez5-opus.so
libspa-codec-bluez5-opus-g.so
libspa-codec-bluez5-ldac.so
libspa-codec-bluez5-lc3.so
libspa-codec-bluez5-faststream.so
libspa-codec-bluez5-aptx.so
libspa-codec-bluez5-aac.so
libspa-bluez5.so

Note that just adding libspa-codec-bluez5-aac.so does not work.

After copying, run systemctl --user status pipewire pipewire-pulse wireplumber.